import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Element, { Message } from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(Element);
import FormMaking from "form-making";
import "form-making/dist/FormMaking.css";
Vue.use(FormMaking);
// or
import { GenerateForm } from "form-making";
import "form-making/dist/FormMaking.css";
Vue.component(GenerateForm.name, GenerateForm);

Vue.prototype.$message = Message;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
